package models;

import play.*;
import play.db.jpa.*;

import javax.persistence.*;
import java.util.*;
import controllers.CRUD.Hidden;

@Entity
public class Badge extends Model {
	
	@ManyToOne
	public Developer applicationId;
	
	public String title;
	
	public String description;
	
	public String imageUrl;
	@Hidden
	public boolean recived;
	
	@Override
  public String toString() {
    return this.title;
  }


	public void execute(){
		recived = true;
	}
	
}

